package com.example.app.ui.Messages;

public class Message {
    private String sender;
    private String lastMessage;
    private String time;
    private int unreadCount;
    private int avatarResId;

    public Message(String sender, String lastMessage, String time, int unreadCount, int avatarResId) {
        this.sender=sender;
        this.lastMessage=lastMessage;
        this.time=time;
        this.unreadCount=unreadCount;
        this.avatarResId=avatarResId;


    }

    public String getSender() {
        return sender;
    }
    public void setSender(String sender) {
        this.sender = sender;
    }
    public String getLastMessage() {
        return lastMessage;
    }
    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getUnreadCount() {
        return unreadCount;
    }

    public void setUnreadCount(int unreadCount) {
        this.unreadCount = unreadCount;
    }

    public int getAvatarResId() {
        return avatarResId;
    }

    public void setAvatarResId(int avatarResId) {
        this.avatarResId = avatarResId;
    }
}